package com.xjj.servicejob.feign;

import com.xjj.entity.ResponseEntity;
import com.xjj.vo.UpdateJobStatusVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author sjy
 * @create 2022-10-25 17:53
 */
@FeignClient("scheduler")
@RequestMapping("/scheduler/admin")
public interface SchedulerFeignClient {
    @PostMapping("/updateJobStatus")
    public ResponseEntity<String> updateJobStatus(@RequestBody UpdateJobStatusVo updateJobStatusVo) throws Exception;
}
